/*
Junction is provided under the OFL and is available at http://www.theleagueofmoveabletype.com/junction or https://github.com/theleagueof/junction
It was originally created by Caroline Hadilaksono: http://www.hadilaksono.com
*/
@font-face {
  font-family: 'Junction Regular';
  src: url('/lib/junction/webfonts/junction-regular.eot');
  src: url('/lib/junction/webfonts/junction-regular.eot?#iefix') format('embedded-opentype'),
       url('/lib/junction/webfonts/junction-regular.woff') format('woff'),
       url('/lib/junction/webfonts/junction-regular.ttf') format('truetype'),
       url('/lib/junction/webfonts/junction-regular.svg#junctionregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Junction Light';
  src: url('/lib/junction/webfonts/junction-light.eot');
  src: url('/lib/junction/webfonts/junction-light.eot?#iefix') format('embedded-opentype'),
       url('/lib/junction/webfonts/junction-light.woff') format('woff'),
       url('/lib/junction/webfonts/junction-light.ttf') format('truetype'),
       url('/lib/junction/webfonts/junction-light.svg#junctionlight') format('svg');
  font-weight: normal;
  font-style: normal;

}

body{
  padding-top: 80px;
}

h1,h2,h3,h4 {
  font-family:"Junction Light", lucida grande,lucida sans console,sans-serif;
  font-weight:normal;
}

h2 small {
  font-size: 60%;
}

h5,h6, h1 small, h3 small {
  font-family: "Junction Regular", lucida grande,lucida sans console,sans-serif;
  font-weight: normal;
  line-height: 1.4em;
}

h6.dropdown-header {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-weight: bold;
    text-transform: uppercase;
    font-size: 75%;
    color: #aaa;
}

.pl-content h1,
.pl-content h2,
.pl-content h3 {
  font-family: "Junction Light",lucida grande,lucida sans console,sans-serif;
  padding-top: 0.4em;
}

.pl-content h4 {
  padding-top:1.2em;
}

.pl-content img {
  margin-top:8px;
}

.pl-content p img,
#comments p img,
#answer-0-comment p img,
.pl-content p {
  max-width: 100%;
  border: none;
}


.note-show h1 {
  font-size: 2.25rem;
}


@media (max-width:400px) {
  .note-show h1 {
    font-size: 2rem;
  }
  .note-show h2 {
    font-size: 1.875rem;
  }
}


.btn-circle {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  display: block;
  padding: 8px 8px 0;
  margin-right: 3px;
  border-color: #ccc;
  font-size: 18px;
}

.btn-circle-sm {
  height: 25px;
  width: 25px;
  margin: 13px 5px;
  display: flex;
  justify-content: center;
  font-size: 11px;
}

#profile-fileinput {
  visibility: hidden;
}

#image_revision {
    width: 200px;
}

/* fontawesome default color */
a .fa { color:#222; }
a .fa-white,
.fa-white {
    color: white !important;
}

.fa-facebook,
.fa-twitter,
.fa-github,
.fa-google {
   vertical-align: middle;
}

.label a {
  color:#007bff;
}

.label {
  margin-bottom:3px;
}

.alert h2 {
  font-size:1.2em;
  font-weight: 800;
}

.visible-print {
  display:none;
}

.text-underline {
  text-decoration: underline !important;
}

#pl_pad {
    width:300%;
}

#header .navbar .input-group {
  flex-wrap: nowrap;
}

#header .navbar #searchform_input {
  cursor: text;
  min-width: 190px;
}

#header .input-group #searchform_input:focus {
  box-shadow: 0 0 0 3px rgba(21, 156, 228, 0.4) inset !important;
}

@media (max-width:992px) {
    #pl_pad {
        width:250%;
    }
}

@media (max-width:400px) {
  .hidden-tiny {
    display:none;
  }
  .visible-tiny {
    display:inline;
  }

  #pl_pad {
      width: 75%;
  }
}

@media (min-width:400px) {
  .hidden-tiny {
    display:inline;
  }
  .visible-tiny {
    display:none;
  }

}

@media (max-width: 768px) {
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    /*.navbar-collapse.collapse {
        display: none!important;
    }*/
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
    #md-ham {
        display: none;
    }
    #pl_pad {
        width:150%;
    }
}


#header .collapse.in .hidden-xs,
#header .collapse.in .hidden-sm,
#header .collapse.in .hidden-md {
  display: block !important;
}

.col2 {
  -webkit-columns:2;
  -moz-columns:2;
  columns:2;
}
#header .navbar-brand {
  color: white;
  font-family: "Junction Light", lucida grande,lucida sans console,sans-serif;
  font-size: 22px;
  line-height: 22px;
  padding-top: .5rem;
  padding-bottom: .2rem;
}

@media (max-width: 768px) {
  #header #brand,
  #header #brand-compact {
    /* padding-top: 22px; */
    padding-right: 4px;
  }
}

@media (max-width: 340px) {
  #brand { display:none; }
  #header .brand-compact { display:inline; }
  #pl_pad {
      width: 75%;
  }
}

@media (min-width: 340px) {
  #brand { display:inline; }
  #header .brand-compact { display:none; }
}

.navbar-nav > li > a {
  color: #aaa;
}

.nav-tabs li {
  border-color:#eee;
}

.nav.bullet li {
  padding-left:20px;
}

.nav.bullet li i {
  margin-left:-19px;
}

.footer {
  color: #666;
  clear:both;
  margin-top: 40px;
  padding: 30px !important;
  border-top: 1px solid #E5E5E5;
  background-color: #f8f8f8;
}

.footer ul {
  margin-bottom: 50px;
  list-style: none;
  padding-left: 0;
  line-height: 2em;
}

.footer a {
  color: #007bff !important;
}

.caption {
  padding:12px;
  font-size:10px;
  font-style:italic;
}

.caption.left {
  padding-left:0;
  width:312px;
  float:left;
}

.caption.right {
  padding-right:0;
  width:312px;
  float:right;
}

.caption img {
  padding-bottom:4px;
}

.pl-content h1 i.fa-link,
.pl-content h2 i.fa-link,
.pl-content h3 i.fa-link,
.pl-content h4 i.fa-link,
.pl-content h5 i.fa-link {
  color:#aaa;
}
.pl-content h1 a:hover i.fa-link,
.pl-content h2 a:hover i.fa-link,
.pl-content h3 a:hover i.fa-link,
.pl-content h4 a:hover i.fa-link,
.pl-content h5 a:hover i.fa-link {
  color:#888;
  text-decoration:none;
}

.pl-content blockquote p {
  padding: 14px;
  font-style: italic;
  margin-top: 8px;
  font-size: 16px;
  font-family: "Helvetica Neue";
  border-left: 5px solid #736f6f;
  color: #555;
  background-color: #f3f1ef;
}

#tags .label {
  line-height: 2em;
  font-size: 16px;
  margin: 0px;
}

#tags li {
  margin: 0px;
  padding: 0px;
}

/* Styles for specific areas of the site */
/* Remove blue background on Chrome autocomplete */
@media(max-width: 768px) {
  .ple-module-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .ple-module-content .wk-wysiwyg {
      width: 100%;
  }
    
  .ple-content .wk-commands {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 390px;
  }

  .ple-content .wk-commands .btn {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 50px;
    height: 38px;
    background: white;
    margin: 0px;
    border-radius: 0 !important;
    border: 1px solid #ddd;
    border-left: none;
  }
  
  .ple-content .wk-commands button.btn:nth-of-type(1),
  .ple-content .wk-commands .btn:nth-of-type(8) {
      border-left: 1px solid #ddd;
  }
  
  .ple-content .wk-commands .btn:nth-of-type(8),
  .ple-content .wk-commands .btn:nth-of-type(9),
  .ple-content .wk-commands .btn:nth-of-type(10),
  .ple-content .wk-commands a.btn{
      border-top: 0;
  }

  .ple-content .wk-switchboard {
    text-align: center;
    float: none;
  }
}

@media(max-width: 480px) {
    .ple-content .wk-commands {
        max-width: 325px;
    }
    .ple-content .wk-commands .btn {
        min-width: 30px;
        max-width: 43px;
        width: 100%;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 3px rgba(21, 156, 228, 0.4) inset !important;
}

.form-element-valid {
  background-color: white !important;
  box-shadow: none !important;
  border: green 2px solid !important;
}

.form-element-invalid {
  background-color: white !important;
  box-shadow: none !important;
  border: red 2px solid !important;
}

.note-show .main-image {
  margin-bottom: 14px;
  height: auto;
  display: block;
}

.note-show .main-image img {
  margin-bottom: 10px;
}

.controls fieldset {
  padding: 5px;
  border-left: 2px solid #cccccc;
}

#comment-form small {
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
}

.chat-popover {
  width:400px;
  right:5px;
  top:45px;
  position: absolute;
  z-index: 1010;
  display: none;
  padding: 1px;
  text-align: left;
  white-space: normal;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}

.foldaway {
  display:none;
  padding: 0 20px;
}

.foldaway-link {
  padding: 12px 0;
  border-top:    1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.pagination > li:first-child,
.pagination > li:last-child {
    display: inline;
}

@media (max-width:640px) {
  .pagination > li {
    display: none;
  }
}

.diff .diff-object,
.diff .diff-object {
  padding: 3px;
}
.diff .diff-added {
  background: #afa;
  color: green;
}
.diff .diff-removed {
  color: #900;
  background: #faa;
}

div.note .meta {
  color:#888;
}

/*start of img aspect css that will affect the
thumbnails which appears on the user's profile
under their notes*/
#notes .note a.img {
  height: auto;
  display: inline-block;
  overflow: hidden;
  margin-bottom: 10px;
}

.note-image {
  height: auto;
  overflow: hidden;
}
.note-image img {
  width: auto;
}

.grid-image {
  width: 100% !important;
  height: auto;
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
}
/*end of img aspect css*/

#notes .note h3 a {
  color: #444;
}

div.note-show.moderated .pl-content,
div.note.moderated .content,
div.note.moderated .meta,
div.note.moderated h4 {
  -moz-opacity: 0.5;
  opacity:.5;
  filter:alpha(opacity=50);
}

.note p.moderated {
  color: #940;
  background: #fec;
  border-color: #eb8;
  padding: 10px;
  font-size: smaller;
}

.note p.moderated .btn {
  color: #940 !important;
  border-color: #eb8;
  background: none;
  font-size: smaller;
}

.note p.moderated .btn:hover {
  background-color: rgba(238, 187, 136, 0.5);
}

.btn-primary {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #006dcc;
  *background-color: #3071a9;
  background-image: -moz-linear-gradient(top, #0077dd, #4451a9);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#3071a9));
  background-image: -webkit-linear-gradient(top, #0088cc, #3071a9);
  background-image: -o-linear-gradient(top, #0088cc, #3071a9);
  background-image: linear-gradient(to bottom, #0088cc, #3071a9);
  background-repeat: repeat-x;
  border-color: #3071a9 #3071a9 #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff3071a9', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

a.btn-outline-secondary .fa {
  color: inherit;
}

 a.btn-outline-secondary:not([href]):not([tabindex]) {
  color: #6c757d;
}

.container .btn-outline-secondary:hover {
  color: white !important;
}

.container .btn-outline-secondary:hover .fa {
  color: white !important;
}
.nav-button-wrapper {
  padding-top: 7.5px;
}

@media (max-width:768px) {
  table {
    font-size: 90%;
  }

  .grid-image {
  width: auto;
  height: auto;
  display: block;
  overflow: hidden;
  margin-bottom: 10px;
  }
}

@media (max-width:400px) {
  table {
    font-size: 80%;
  }
}

.back-to-top {

  float: right;

}

.back-to-top i {

  font-size: 40px;
  position: fixed;
  bottom: 20px;
  right: 20px;

}

.is-active{
    cursor: default;
    background-color: #e3f2fd;
}
textarea, input {
    padding:10px;
    font-family: FontAwesome, "Open Sans", Verdana, sans-serif;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

.form-grey {
  color:#888;
}

/* breaks out of #content div and presents edge-to-edge content without absolute positioning */
.inline-fullwidth-content {
  width:100vw !important;
  margin:0 calc((100% / 2) - 50vw) !important;
  /* z-index: 10 !important; */
}

@media (min-width: 992px) {
  .inline-fullwidth-content {
    margin: 0 calc((133% / 2) - 49.4vw) !important;
  }
}
@media (min-width: 1200px) {
  .inline-fullwidth-content {
    margin: 0 calc((133% / 2) - 48.3vw) !important;
  }
}

.sidebar-panel {
  background: rgba(255,255,255,0.8);
  z-index: 700;
  border-radius: 4px;
  padding: 10px;
}

.btn-toolbar .btn-outline-secondary
{
    color:#222;
}

.btn-toolbar .btn-outline-secondary:hover
{
    color: #f1f1f1 !important;
}
